package com.kkb.kkbadmin.domain;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @ClassName ProductionInfo
 * @Description TODO 作品集
 * @Author hxf
 * @Date 2021/8/12
 **/
@Data
@TableName("production_info")
@ApiModel(value = "作品集对象", description = "作品集")
public class ProductionInfo {
    private static final Long serialVersionUID = 1L;

    @ApiModelProperty("作品集主键id")
    @NotEmpty
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty("项目标题")
    @TableField("project_title")
    private String projectTitle;

    @ApiModelProperty("项目简述")
    @TableField("project_describe")
    private String projectDescribe;

    @ApiModelProperty("项目类型：PPT、H5、APP、网页、小程序、其他")
    @TableField("project_type")
    private String projectType;

    @ApiModelProperty("点赞")
    @TableField("production_like")
    private String productionLike;

    @ApiModelProperty("创建人")
    private String creator;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private String createTime;

    @ApiModelProperty("修改人")
    private String updater;

    @ApiModelProperty("修改时间")
    @TableField("update_time")
    private String updateTime;

    @TableLogic
    @ApiModelProperty("是否已删除")
    @TableField("is_deleted")
    private String deleted;
}
